﻿// ***********************************************************************
// Assembly         : MVC4Portal
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-07-2013
// ***********************************************************************
// <copyright file="_JSTO_Base.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary>Member 1st letter MUST be lowercase as in JQuery</summary>
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using InnovaApp.Portals.MVC4Portal.Models.JSonModels;

namespace InnovaApp.Portals.MVC4Portal.Models.WebAPIModels.JSTO
{
    /// <summary>
    /// JSon Transfert Objects
    /// </summary>
    public abstract class _JSTO_Base
    {
        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="_JSTO_Base"/> is success.
        /// ToDo LJO : factorize with INNOVACALLAjaxResponse
        /// </summary>
        /// <value><c>true</c> if success; otherwise, <c>false</c>.</value>
        public bool success { get; set; }
        /// <summary>
        /// Gets or sets the script to execute.
        /// </summary>
        /// <value>The script to execute.</value>
        public string scriptToExecute { get; set; }
        /// <summary>
        /// Gets or sets the element to update.
        /// </summary>
        /// <value>The element to update.</value>
        public string elementToUpdate { get; set; }
        /// <summary>
        /// Gets or sets the content of the HTML.
        /// </summary>
        /// <value>The content of the HTML.</value>
        public string htmlContent { get; set; }
        /// <summary>
        /// Gets or sets the message title.
        /// </summary>
        /// <value>The message title.</value>
        public string messageTitle { get; set; }
        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>The message.</value>
        public string message { get; set; }
        /// <summary>
        /// Gets or sets the redirection URL.
        /// </summary>
        /// <value>The redirection URL.</value>
        public string redirectionUrl { get; set; }
        /// <summary>
        /// Gets or sets the content of the i frame.
        /// </summary>
        /// <value>The content of the i frame.</value>
        public string iFrameContent { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="_JSTO_Base"/> class.
        /// </summary>
        public _JSTO_Base()
        {
        }
    }
}